// import { _decorator, Component, Node, CCClass } from 'cc';
import { App } from '../Framework/Core/App';
import { CtrlManager } from '../Framework/Manager/CtrlManager';
import CtrlName, { UIConfig } from './UIDefine';
// const { ccclass, property } = _decorator;


export class GameRT
{

    public  static readonly isDebug:boolean = true;

    public static readonly ScenLength = 100;

    public static readonly RoadSpace = 1.5;

    public static readonly MoveSpeed = 0.1;

    public static StartUp()
    {
        UIConfig.Init();

        
        App.Instance.sceneMgr.LoadScene("login",(scene,error)=>
        {
            App.Instance.ctrlMgr.StartPage(CtrlName.Login)
        });

        
    }
} 